package com.topcent.tioxyc.pojo;

import cn.hutool.core.date.DateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Task {
    private String app_id;
    private String form_id;
    private String form_title;
    private String title;
    private String instance_id;
    private String task_id;
    private int flow_id;
    private String flow_name;
    private String finish_action;
    private String url;
    private Assignee assignee;
    private Creator creator;

    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", timezone = "GMT")
    private DateTime create_time;

    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", timezone = "GMT")
    private DateTime finish_time;

    private int status;
}
